{% extends "base.html" %}
{% load staticfiles %}
{% block title %} 登录 {% endblock title %}
{% block content %}
<div class="container">
  <div class="row">
    <br>
    <div class="col-12">
      <h5>还没有账号？</h5>
      <h5>点击<a href='{% url "userprofile:register" %}'>注册账号</a>加入我们吧！</h5>
    </div>
    <br>
    <form action="." method="post" class="col-4">
       {% csrf_token %}
      <!-- 账号 -->
      <div class="form-group">
        <label for="username">账号</label>
        <input type="text" class="form-control" id="username" name="username">
      </div>
      <!-- 密码 -->
      <div class="form-group">
        <label for="password">密码</label>
        <input type="password" class="form-control" id="password" name="password">
      </div>
      <!-- 提交按钮 -->
      <button class="btn btn-primary col-3" type="submit">提交</button>
    </form>
  </div>
</div>

<div class="container">
  <div class="row">
      <div class="col-9">
          <!-- 忘记密码 -->
        <br>
        <h5>忘记密码了？</h5>
        <h5>点击<a href="{% url 'password_reset_recover' %}">这里</a>重置密码 </h5>
      </div>
  </div>
</div>

{% endblock content %}